/*  1:   */ package com.atomikos.datasource.xa;
/*  2:   */ 
/*  3:   */ import com.atomikos.datasource.ResourceException;
/*  4:   */ import javax.transaction.xa.XAResource;
/*  5:   */ 
/*  6:   */ public class AcceptAllXATransactionalResource
/*  7:   */   extends XATransactionalResource
/*  8:   */ {
/*  9:   */   public AcceptAllXATransactionalResource(String servername)
/* 10:   */   {
/* 11:54 */     super(servername);
/* 12:55 */     super.setAcceptAllXAResources(true);
/* 13:   */   }
/* 14:   */   
/* 15:   */   public AcceptAllXATransactionalResource(String servername, XidFactory factory)
/* 16:   */   {
/* 17:65 */     super(servername, factory);
/* 18:66 */     super.setAcceptAllXAResources(true);
/* 19:   */   }
/* 20:   */   
/* 21:   */   protected XAResource refreshXAConnection()
/* 22:   */     throws ResourceException
/* 23:   */   {
/* 24:75 */     return null;
/* 25:   */   }
/* 26:   */   
/* 27:   */   public boolean usesXAResource(XAResource res)
/* 28:   */   {
/* 29:84 */     return true;
/* 30:   */   }
/* 31:   */   
/* 32:   */   protected void recover() {}
/* 33:   */   
/* 34:   */   public void endRecovery() {}
/* 35:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions-jta\3.7.0\transactions-jta-3.7.0.jar
 * Qualified Name:     com.atomikos.datasource.xa.AcceptAllXATransactionalResource
 * JD-Core Version:    0.7.0.1
 */